package vnreal.ZNEW.GraphTest;

public class Node {
	public String globalNodeId;
	public String energy;
	public double energyConsumption;
	public int ports;
	public int lineCards;
	public boolean isOn;
	public double longitude;
	public double latitude;
	public String name;
	public static String format = " %1$-5s| %2$-20s| %3$-20s| %4$-9s| %5$-12s| %6$-6s\n";
	
	@Override
	public String toString() {
		String s = "";
		s += String.format(format, globalNodeId, energy, energyConsumption, ports, lineCards, isOn);
		return s;
	}
}
